#ifndef __LED_H__
#define __LED_H__
#include "gd32w51x.h"
#include "gd32w51x_libopt.h"
#include "systick.h"

#define LED_ISOPEN  !gpio_output_bit_get(GPIOB, GPIO_PIN_4) //0使能为开

typedef enum{
    OFF = 0,
    ON
} Led_Status; //灯的状态
void  led_set(Led_Status status);
void led_init();
#endif
